package com.sure.supermarketserver.common.dao;

import com.sure.supermarketserver.common.model.User.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;


public interface CommonDao {

    @Select("select st_id userId,st_name userName,st_tel userTel,st_sex userSex,st_pwd userPwd,st_avatar avatar  from staff where st_id = #{userId}")
    User findUserById(String userId);
}
